CC=cc
CFLAGS=-ggdb -Wall -Wextra -Wpedantic -std=c99
OBJS=get_number_of_bytes_mainless.o size_of_files.o

all: get_number_of_bytes get_number_of_bytes.c size_of_files.c $(OBJS)
	$(CC) $(CFLAGS) -o size_of_files $(OBJS)

get_number_of_bytes: get_number_of_bytes.c
	$(CC) $(CFLAGS) -o $@ $<

%.o: %.c
	$(CC) $(CFLAGS) -c $<

.PHONY: clean

clean:
	rm *.o get_number_of_bytes size_of_files
